package IOTest;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class OutputChar {
    public static void main(String[] args) {
        try(Writer writer = new FileWriter("d:/example/test.txt",true)){
                writer.write("hello，世界");
        }catch (IOException e){
            e.printStackTrace();
        }
    }
}
